Manager: Text Services Manager
Carbon supports nearly all Text Services Manager functions. The exceptions are those functions, such as NewServiceWindow and CloseServiceWindow, used to create and manage floating utility windows. If you have a TSM component that uses floating utility windows, you should replace these functions with equivalent Mac OS 8.5 Window Manager functions, which offer more complete support for creating and managing floating windows.
For example, instead of the NewServiceWindow function, you can use the Window Manager function CreateNewWindow, and specify either kFloatingWindowClass or kUtilityWindowClass.
Likewise, use DisposeWindow instead of CloseServiceWindow, GetFrontWindowOfClass instead of GetFrontServiceWindow, and FindWindowOfClass instead of FindServiceWindow.
Finally, the TSMEvent, TSMMenuSelect, and SetTSMCursor functions no longer need to be called, so they are not included in Carbon.
ActivateTextService
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
ActivateTSMDocument
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
CloseServiceWindow
You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, you should replace calls to CloseServiceWindow with calls to the Window Manager function DisposeWindow. Not available in Carbon.
CloseTextService
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
CloseTSMAwareApplication
Not needed in Mac OS X due to the new event model. Not available in Carbon.
DeactivateTextService
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
DeactivateTSMDocument
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
DeleteTSMDocument
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
FindServiceWindow
You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, you should replace calls to FindServiceWindow with calls to the Window Manager function FindWindow. Not available in Carbon.
FixTextService
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
FixTSMDocument
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
GetDefaultInputMethod
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
GetFrontServiceWindow
You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, replace calls to GetFrontServiceWindow with calls to the Window Manager function FrontWindow. Not available in Carbon.
GetScriptLanguageSupport
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
GetServiceList
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
GetTextServiceLanguage
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
GetTextServiceMenu
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
GetTextServiceProperty
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
HidePaletteWindows
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
InitiateTextService
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
InitTSMAwareApplication
Not needed in Mac OS X due to the new event model. Not available in Carbon.
NewCServiceWindow
Replace calls to NewCServiceWindow in your component with calls to Mac OS 8.5 Window Manager creation functions, such as CreateNewWindow, which offer more complete support for floating windows. Not available in Carbon.
NewServiceWindow
Replace calls to NewServiceWindow in your component with calls to Mac OS 8.5 Window Manager creation functions, such as CreateNewWindow, which offer more complete support for floating windows. Not available in Carbon.
NewTSMDocument
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
OpenTextService
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
SendAEFromTSMComponent
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
SendTextInputEvent
Not available in Carbon.
SetDefaultInputMethod
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
SetTextServiceCursor
Not available in Carbon.
SetTextServiceLanguage
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
SetTextServiceProperty
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
SetTSMCursor
Not needed in Mac OS X due to the new event model. Not available in Carbon.
TerminateTextService
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
TextServiceEvent
Not available in Carbon.
TextServiceEventRef
Available in Carbon 1.1 and later when running Mac OS 8.6 or later.
TextServiceMenuSelect
Not available in Carbon.
TSMEvent
Not needed in Mac OS X due to the new event model. Not available in Carbon.
TSMMenuSelect
Not needed in Mac OS X due to the new event model. Not available in Carbon.
TSMSetInlineInputRegion
Available in Carbon 1.1 and later when running Mac OS 8.6 or later.
UCTextServiceEvent
This function isn't useful. Not available in Carbon.
UCTextServiceEventRef
This function isn't useful.
UseInputWindow
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
[Table of Contents] [Manager Index] [Function Index]
Generated on: 8/1/2000. Copyright © 1999, 2000 Apple Computer, Inc. All rights reserved.